package com.sdhs.basicinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdhs.common.annotation.Excel;
import lombok.Data;
import com.sdhs.common.core.domain.BaseEntity;

/**
 * 基础信息管理-关联单位信息对象 gc_foundation_association_unit
 *
 * @author andong
 * @date 2025-03-20
 */
@Data
public class GcFoundationAssociationUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联单位信息主键 */
    private Long id;

    /** 关联项目id */
    @Excel(name = "关联项目id")
    private Long projectId;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String unitType;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String unitAddress;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String unitPhone;

    /** 单位负责人 */
    @Excel(name = "单位负责人")
    private String unitHead;

    /** 传真号码 */
    @Excel(name = "传真号码")
    private String faxNumber;

    /** 资质等级 */
    @Excel(name = "资质等级")
    private String qualificationGrade;

    /** 单位概况 */
    @Excel(name = "单位概况")
    private String unitOverview;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creater;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updater;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String isDelete;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("unitType", getUnitType())
            .append("unitName", getUnitName())
            .append("unitAddress", getUnitAddress())
            .append("unitPhone", getUnitPhone())
            .append("unitHead", getUnitHead())
            .append("faxNumber", getFaxNumber())
            .append("qualificationGrade", getQualificationGrade())
            .append("unitOverview", getUnitOverview())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("creater", getCreater())
            .append("updater", getUpdater())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
